// 初始化 vue
import { createApp } from "vue";
import App from "./App.vue";
const app = createApp(App);

// 初始化 pinia
import { createPinia } from "pinia";
app.use(createPinia());

// 初始化 router
import router from "./router";
app.use(router);

// 引入 element-plus
import ElementPlus from "element-plus";
import "element-plus/dist/index.css";
app.use(ElementPlus);

// 挂载 app
app.mount("#app");

import "./style/global.css"; // 引入全局样式
import "remixicon/fonts/remixicon.css"; // 引入图标库

// 安装Icon
import installIcon from "./assets/icon.js";
installIcon(app);
